<template>
  <detailsGoods ref="reference" :id="route.query.id" />
</template>
<script setup lang="ts" name="DetailsWholesale">
import DetailsGoods from "@/views/operates/goods/subpage/detailsGoods.vue";
// 获取实例
const route = useRoute()
// 解构赋值
// const { params: { id } } = route

// const reference = ref<any>()

// onUpdated(() => {
//   reference?.value.getGoodsInfo();
// })
</script>
<style scoped></style>